package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.enums.AddressGroupAlgTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 通讯录分组数据VO
 *
 * @author: 李涛
 * @version: 2019年05月22日 16:36
 */
@Data
@ApiModel
public class AddressBookPacketDataVo {

    @ApiModelProperty("分组ID")
    private String id;

    @ApiModelProperty("分组名称")
    private String name;

    @ApiModelProperty("分组来源,KEY=AddressGroupAlgTypeEnum")
    @JsonSerialize(converter = AddressGroupAlgTypeEnum.Covert.class)
    private String type;

    @ApiModelProperty("用户数量")
    private String userNum;
}
